package com.mall.business.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mall.common.annotation.Excel;
import com.mall.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 邀请返现规则对象 t_cashback_rule
 *
 * @author ruoyi
 * @date 2025-03-31
 */
@Data
@TableName(value = "t_cashback_rule")
@EqualsAndHashCode(callSuper = true)
public class TCashbackRule extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    /**
     * "最小邀请人数"
     */
    @Excel(name = "最小邀请人数")
    private Long minInvite;
    /**
     * "最大邀请人数"
     */
    @Excel(name = "最大邀请人数")
    private Long maxInvite;
    /**
     * "返现比例"
     */
    @Excel(name = "返现比例")
    private BigDecimal cashbackRatio;
}
